package org.example.order.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NonNull;
import org.example.core.valid.annontation.ListValue;

@Data
public class ConfirmOrderBo {
    private Long skuId;
    private Integer count;
    @ListValue(value = {1,2,3}, message = "参数错误")
    @NotNull(message = "参数错误")
    private Integer type;
}
